package com.pachong.android.frameworkbase.imageloader;

import android.net.Uri;
import android.widget.ImageView;

/**
 * 图片加载的接口
 *
 * @Author: PV
 * @E-mail: pengveivei@sina.cn
 * @CreateDate: 2016/6/23 16:56
 * @Version: 1.0.0
 */
public interface IImageLoader {

    IImageLoader load(Uri uri);

    IImageLoader into(ImageView iv);

    IImageLoader callback(ImageLoaderCallback cb);


    IImageLoader skipMemory(boolean bl);

    //是否gif
    IImageLoader asGif(boolean bl);

    //重置加载大小
    IImageLoader resize(boolean bl,int width,int height);

    //清除缓存
    void clear();

    void start();


}
